#include "..\System.h"

//+ boxing/unboxing
internal System_Object *___boxfloat(float value)
{
	System_Single *box = new(,System_Single);
	box->m_value = value;
	return (System_Object *)box;
}

internal float ___unboxfloat(System_Object *value)
{
	return ((System_Single *)value)->m_value;
}

//+ type
Implement_Type(System_Single,System_Object,)
Implement_DefaultCtor(System_Single,System_Object)
System_Type _floatType = { (__typeCtor)null, L"float", (__typeBoxer)&___boxfloat, (__typeUnboxer)&___unboxfloat, (char*)null, _TypeFlags_Value };
//Declare_System(System_Single, float)
//Implement_System(System_Single, float)
